﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="T163.Open.Api.WebSample._Default" %>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <p style="font-size: large; font-weight: 600;">
        <asp:Literal ID="ltlUser" runat="server"></asp:Literal>
        &nbsp;&nbsp;Welcome to 网易微博C# SDK!&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="BtnLogin" runat="server" OnClick="BtnLogin_Click" Text="登录" Height="30px"
            Width="100px" />
    </p>
    <br />
    <asp:TextBox ID="txtStatues" runat="server" Width="474px" Height="82px" MaxLength="163"></asp:TextBox>
    <asp:FileUpload ID="FileUpload1" runat="server" />
    <asp:Button ID="BtnUpdate" runat="server" Text="发布" OnClick="BtnUpdate_Click" Height="30px"
        Width="100px" />
    <br />
    <br />
    <asp:GridView ID="gvStatues" runat="server" AutoGenerateColumns="False" CellPadding="4"
        ForeColor="#333333" GridLines="None" Visible="False">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID">
                <HeaderStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="Text" HeaderText="内容" />
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    <br />
    <asp:TextBox ID="txtMsg" runat="server" Height="100px" TextMode="MultiLine" Width="800px">
    </asp:TextBox>
    <br />
</asp:Content>
